package com.xkstream.client.api;

public class API {
    /**
     * 开发地址
     */
//    public static String HOST = "http://172.16.2.180/";
//    public static String WS_HOST = "ws://172.16.2.180/";
    /**
     * 测试地址
     */
//    public static String HOST = "http://172.16.2.182:8000/";
//    public static String WS_HOST = "ws://172.16.2.182:8000/";
    /**
     * 预发布地址
     */
//    public static String HOST = "http://69.172.89.200/";
//    public static String WS_HOST = "ws://69.172.89.200/";
//    public static final String FILEUPLOAD_HOST = "http://69.172.89.200:8088/";

    /**
     * 线上地址
     */
    public static String HOST = "http://69.172.89.201/";
    public static String WS_HOST = "ws://69.172.89.201/";
    public static final String FILEUPLOAD_HOST = "http://69.172.89.208/";

    //    public static String HOST = "https://www.legend8888.com/";
//    public static String WS_HOST = "ws://www.legend8888.com/";


    public static final String IMAGE_HOST = "https://www.legend8888.com/";

    //public static final String FILEUPLOAD_HOST = "http://122.224.221.203:8090/";

    //测试环境
//    public static final String FILEUPLOAD_HOST = "http://172.16.2.182:8090/";
    //开发环境
    //public static final String FILEUPLOAD_HOST = "http://172.16.2.180:8090/";

    //推流服务器
    public static final String STREAM_URL = "rtmp://69.172.89.222:1935/hls/";
//    public static final String STREAM_URL = "rtmp://172.16.2.181:1935/hls/";


    /**
     * 长连接
     */
    public static String LONG_URL = "chat_room/ws.do?";

    /**
     * 登录
     */
    public static final String USER_LOGIN = "user/api/anchor/login.do";

    /**
     * 获取游戏类型
     */
    public static final String GET_GAME_TYPE = "game_type/api/get_game_type.do";
    /**
     * 主播上下线
     */
    public static final String ANCHOR_ON_OFF = "anchor/api/anchor_on_off.do";
    /**
     * 礼物排行（礼物种类排行）
     */
    public static final String GIFT_NUM_RANKING = "gift/api/gift_num_ranking.do";
    /**
     * 禁言
     */
    public static final String SHUT_UP = "netease/chatroom/temporaryMute.do";
    /**
     * 设置房管
     */
    public static final String SET_ADMIN = "anchor/api/save_room_management.do";
    /**
     * 房管列表
     */
    public static final String ADMIN_LIST = "anchor/api/get_room_management.do";

    /**
     * 礼物排行榜（价值）
     */
    public static final String GIFT_RANKING = "gift/api/gift_ranking.do";
    /**
     * 礼物历史记录
     */
    public static final String GIFT_RECORD = "gift/api/get_gift_record.do";

    /**
     * 上传图片
     */
    public static final String UPLOAD_IMG = "files/api/uploadfile.do";
    /**
     * 注册主播
     */
    public static final String REGISTER_ANCHOR = "anchor/api/apply_anchor.do";

    /**
     * 版本更新
     */
    public static final String VERSION = "version/api/get_version.do";
    /**
     * 地区选择
     */
    public static final String AREA_CODE = "anchor/api/queryCountry.do";

    /**
     * 获取主播详细信息
     */
    public static final String ANCHOR_DETAIL = "anchor/api/getAnchorDetail.do";


   /*---------------------------------------------第二版新增接口-------------------------------------------------------*/
    /**
     * 注册
     */
    public static final String ANCHOR_REGISTER = "user/api/anchor/regist.do";

    /**
     * 上传文件
     */
    public static final String UPLOAD_FILE = "event-platform-admin/file/save";

    /**
     * 密码找回
     */
    public static final String RESET_PWD = "user/api/anchor/retrieve.do";

    /**
     * 主播申请
     */
    public static final String ANCHOR_APPLY = "anchor/api/apply_anchor.do";


    /**
     * 直播设置
     */
    public static final String LIVE_SETTINGS = "user/api/anchor/liveSet.do";

    /**
     * 消息列表
     */
    public static final String MESSAGE_LIST = "message/api/get_user_messages.do";

    /**
     * 收益记录
     */
    public static final String GIFT_RANKING_V2 = "gift/api/app/gift_ranking.do";

    /**
     * 今日收益
     */
    public static final String TODAY_GAINS = "gift/api/app/giftIncome.do";

    /**
     * 读取消息
     */
    public static final String READ_MESSAGE = "message/api/read_message.do";


    /**
     * 分成奖励
     */
    public static final String REWARD_INFO = "gift/api/app/lastMonth.do";

    /**
     * 空间列表
     */
    public static final String BLOG_LIST = "blog/api/get_user_blogs.do";

    /**
     * 评论列表
     */
    public static final String COMMENT_LIST = "blog/api/get_blog_comments.do";

    /**
     * 发表说说
     */
    public static final String PUBLISH_BLOG = "blog/api/publish_blog.do";

    /**
     * 发表评论
     */
    public static final String PUBLISH_COMMENT = "blog/api/publish_comment.do";

    /**
     * 点赞
     */
    public static final String UP_VOTE = "blog/api/upvote_blog.do";


    /**
     * 上传日志
     */
    public static final String UPLOAD_LOG = "event-platform-admin/file/saveLog";


    /**
     * 礼物之星
     */
    public static final String START_GIFT = "rank/anchor_gift_realtime_rank.do";

    /**
     * 删除博客
     */
    public static final String DELETE_BLOG = "blog/api/blog_delete.do";

    /**
     * 设置空间背景
     */
    public static final String SET_ZONE_BG = "anchor/api/set_zone_image.do";

}

